﻿
namespace ParaEditor.Domain.Entities
{
    public class QfPercentPk
    {

        public virtual int infoVer { get; set; }
        public virtual long recordId { get; set; }

        public override bool Equals(object obj)
        {
            if (obj is QfPercentPk)
            {
                QfPercentPk pk = obj as QfPercentPk;
                if (this.infoVer == pk.infoVer
                    && this.recordId == pk.recordId)
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
            return false;
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}
